<?php
namespace Admin\Controller;
use Think\Controller;
use Admin\Common\CommonController;
//哪个控制器需要权限控制就加上权限继承
class HomeController extends CommonController {
    public function index(){
        $this->display();
    }
     public function welcome(){
        $this->display('welcome');
    }
}